var orderInfoController = require('../../controllers/o2o_merchant/orderInfo.server.controller.js');
const express = require("express");

module.exports = (app) => {
    const router = express.Router();
    router.route('/:merchantId')
        .get(orderInfoController.getOrderInfoByMerchantId);
    router.route('/updateOrderInfo')
        .post(orderInfoController.updateOrderInfo);

    app.use('/merchant/orderInfo', router);
};